﻿namespace StoreApp
{
    public class SpyPaySystem:IPaySystem
    {
        private int m_profit;
        private bool m_called = false;
        public bool IsCalled()
        {
            return m_called;
        }

        public int Amount()
        {
            return m_profit;
        }


        public void IncreaseProfit(int profit)
        {
            m_profit = profit;
            m_called = true;
        }
    }
}
